/**
 * 过滤input中其他语法
 * @param *
 */
 function replaceStr (param){
    var rules = /script|<?php |select|update|delete|truncate|join|union|exec|insert|drop|count/gi
    var str = param.replace(rules,function(sMatch){
    			return sMatch.replace(/./g,"")
    		})
    return str
 }